package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * Created by mark on 2017/12/21.
 */

public class SaleGoods {


    /**
     * result : 1
     * message : 展示成功
     * data : [{"id":"2001","img":"/upload/pliang/20150711085315758.jpg","name":"地三鲜盖浇饭","count":"98","shopid":"211","cost":"30.00","cxzhe":0.88,"cxcost":26.4,"bagcost":"1.00","sellcount":"2","pscost":"10","evaluate":1,"zhekou":"优惠商品2.5折起","manjian":"满30减15 满60减30 满30减15 满30减15 满60减30 满30减15 满60减30","shoudan":"首单立减15元","fanquan":"下单返30元优惠劵","tejia":"特价商品,限时抢购"},{"id":"2002","img":"/upload/pliang/20150711091120638.jpg","name":"茶树菇烧肉","count":"98","shopid":"209","cost":"30.00","cxzhe":0.95,"cxcost":28.5,"bagcost":"0.00","sellcount":"2","pscost":"10","evaluate":0,"zhekou":"优惠商品2.5折起","manjian":"满30减15 满60减30 满30减15","shoudan":"0","fanquan":"0","tejia":"特价商品,限时抢购"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2001
         * img : /upload/pliang/20150711085315758.jpg
         * name : 地三鲜盖浇饭
         * count : 98
         * shopid : 211
         * cost : 30.00
         * cxzhe : 0.88
         * cxcost : 26.4
         * bagcost : 1.00
         * sellcount : 2
         * pscost : 10
         * evaluate : 1
         * zhekou : 优惠商品2.5折起
         * manjian : 满30减15 满60减30 满30减15 满30减15 满60减30 满30减15 满60减30
         * shoudan : 首单立减15元
         * fanquan : 下单返30元优惠劵
         * tejia : 特价商品,限时抢购
         */

        private String goodsid;
        private String img;
        private String goodsname;
        private String count;
        private String shopid;
        private String cost;
        private double cxzhe;
        private String cxcost;
        private String bagcost;
        private String sellcount;
        private String pscost;
        private String evaluate;
        private String zhekou;
        private String manjian;
        private String shoudan;
        private String fanquan;
        private String tejia;

        public String getId() {
            return goodsid;
        }

        public void setId(String id) {
            this.goodsid = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return goodsname;
        }

        public void setName(String name) {
            this.goodsname = name;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getShopid() {
            return shopid;
        }

        public void setShopid(String shopid) {
            this.shopid = shopid;
        }

        public String getCost() {
            return cost;
        }

        public void setCost(String cost) {
            this.cost = cost;
        }

        public double getCxzhe() {
            return cxzhe;
        }

        public void setCxzhe(double cxzhe) {
            this.cxzhe = cxzhe;
        }

        public String getCxcost() {
            return cxcost;
        }

        public void setCxcost(String cxcost) {
            this.cxcost = cxcost;
        }

        public String getBagcost() {
            return bagcost;
        }

        public void setBagcost(String bagcost) {
            this.bagcost = bagcost;
        }

        public String getSellcount() {
            return sellcount;
        }

        public void setSellcount(String sellcount) {
            this.sellcount = sellcount;
        }

        public String getPscost() {
            return pscost;
        }

        public void setPscost(String pscost) {
            this.pscost = pscost;
        }

        public String getEvaluate() {
            return evaluate;
        }

        public void setEvaluate(String evaluate) {
            this.evaluate = evaluate;
        }

        public String getZhekou() {
            return zhekou;
        }

        public void setZhekou(String zhekou) {
            this.zhekou = zhekou;
        }

        public String getManjian() {
            return manjian;
        }

        public void setManjian(String manjian) {
            this.manjian = manjian;
        }

        public String getShoudan() {
            return shoudan;
        }

        public void setShoudan(String shoudan) {
            this.shoudan = shoudan;
        }

        public String getFanquan() {
            return fanquan;
        }

        public void setFanquan(String fanquan) {
            this.fanquan = fanquan;
        }

        public String getTejia() {
            return tejia;
        }

        public void setTejia(String tejia) {
            this.tejia = tejia;
        }
    }
}
